package com.yuntsg.ruiijn.databse_search.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author i2twmx@gmail.com
 * @since 2022-07-21
 */
@TableName("file_details_self")
@Data
@Accessors(chain = true)
public class FileDetailsSelf implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文件id
     */
    private Integer fId;

    /**
     * 类型(1文本,2图片)
     */
    private Integer tpye;


    /**
     * 第几段
     */
    private Integer segment;

    /**
     * 第几句
     */
    private Integer sentence;


    private Integer pmid;


    /**
     * 字节流
     */
    private byte[] figureZip;

    private String txtContent;

    private String path;

    @TableField(exist = false)
    private Double source;


}
